<script language="JavaScript" src="js/fader/fader.js"></script>

<div id="fademessage" style="width: 100%; height: 0px;">
</div>
<div id="textmessage" style="position: absolute; top: 12px; width: 100%; color: #FFFFFF; left: 0px; height: 0px;">
</div>


{if $message != ""}
	<script type="text/javascript">
		setFaderMessage('{$message}');
		//colorFade('fademessage','background','FFFF99','FFFFFF', 10, 150)
	</script>
{/if}


<!--
	The first parameter is the id of the element you are targeting. 
	The second is the property to fade which can be the background, border or text.
	The third is the hex value of the starting color.
	The third is the hex value to fade to.
	The fourth and fifth are both optional.
	The first is the the number of times to divide the color difference and the last is the transition speed.
-->